package org.dtrd.modules.food.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.food.entity.bean.CookbooksDetail;
import org.dtrd.modules.food.entity.bean.CookbooksListInfo;
import org.dtrd.modules.food.entity.po.DtrdExtEmsYwCookbooks;
import org.dtrd.modules.food.entity.request.CookbooksPageRequest;

/**
 * <p>
 * 菜谱服务类
 * </p>
 *
 * @author QR
 * @since 2021-12-09
 */
public interface IDtrdExtEmsYwCookbooksService extends IService<DtrdExtEmsYwCookbooks> {

    IPage<CookbooksListInfo> pageCookbooks(CookbooksPageRequest request);

    CookbooksDetail getCookbooks(Integer dataId);

    boolean saveOrUpdateCookbooks(CookbooksDetail dto);

    boolean removeCookbooks(Integer dataId);
}
